package cn.lhjl.day09.多线程;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class 线程池 {
    public static void main(String[] args) {
        ExecutorService et = Executors.newFixedThreadPool(2);
        et.submit(new RunnableImpl());
        et.submit(new RunnableImpl());
        et.submit(new RunnableImpl());
    }
}
